MoveFile

Moves or renames a file.

Syntax

MoveFile("SourcePath", "DestinationPath")

Arguments

Argument Description
SourcePath Full path to the file to move. See Identifying files and directories in statements for information about configuring full paths relative to the workspace or script directory.
DestinationPath Full path to the directory to move the file to. To rename a file, include the new name in the destination path. See Identifying files and directories in statements for information about configuring full paths relative to the workspace or script directory.

Example

MoveFile("C:\\Testing\\Output.txt", "C:\\TestDocuments\\DataSource")